package com.fengye.lock.db.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.fengye.lock.db.domain.UserAccount;
import org.apache.ibatis.annotations.Param;

/**
 *
 */
public interface UserAccountService extends IService<UserAccount> {

    int updateAmountById(Double money, Integer id);

    int updateAmountByIdAndVersion(Double money, Integer id, Integer version);

    UserAccount selectByUserIdLock(Integer userid);
    int updateAmountLock(Double money, Integer id);
}
